<h2 class="grid_12">Registro de Nuevo Evento</h2>                                                                                
<div class="grid_8">
    <div class="box">
        <div class="header">        
            <?php echo $this->Html->image('icons/packs/fugue/16x16/document--plus.png', array('width' => 16, 'height' => 16)) ?>
            <h3>Formulario de Nuevo Evento</h3>
            <span></span>
        </div>
        <?php //comienza el contenido que quieres colocar ?>

        <?php echo $this->Form->create('Evento', array('class' => 'validate')); ?>
        <div class="content no-padding">
            <div class="section _100">
                <label>
                    Nombre
                </label>
                <div>                        
                    <?php echo $this->Form->text('nombre', array('class' => 'required')); ?>
                </div>
            </div>
            <div class="section _100">
                <span class="label">Fecha</span>
                <div>                    
                    <?php echo $this->Form->text('fecha', array('id' => 'example5', 'type' => 'date', 'class' => 'required', 'data-date-relative' => 'now')); ?>
                </div>
            </div>                                
            <div class="section _100">
                <label for="time">
                    Hora
                </label>
                <div>
                    <?php echo $this->Form->text('hora', array('id' => 'time', 'type' => 'time', 'class' => 'required', 'data-date-relative' => 'now')); ?>                        
                </div>
            </div>     
            <div class="section _100">
                <label>
                    Direccion
                </label>
                <div>                        
                    <?php echo $this->Form->text('direccion', array('class' => 'required')); ?>
                </div>
            </div>
        </div>
        <div class="actions">
            <div class="actions-left">
                <input type="reset" value="Limpiar" />
            </div>                
            <?php
            $options = array(
                'label' => 'Guardar',
                'div' => array(
                    'class' => 'actions-right',
                )
            );
            echo $this->Form->end($options);
            ?>                
        </div>

        <?php //fin del contenido a colocar    ?>
    </div> <!-- End of .box -->
</div> <!-- End of .grid_4 -->                                            
<div class="grid_4">
    <?php echo $this->element('menu_eventos'); ?>
</div> <!-- End of .grid_4 -->

<!-- End of #main_content -->
<div class="push clear"></div>
<script>
    $('#example5').datetimepicker({
	showSecond: true,
	showMillisec: true,
	timeFormat: 'hh:mm:ss:l'
});
</script>
<?php echo $this->element('js_forms'); ?>